package com.example.qxfw.ybzz.service;

import com.example.qxfw.common.entity.qx.YbzzForecast;

import java.util.List;

public interface YbzzForecastService {
    /**
     *
     * @return
     */
    List<String> getStationId();

    /**
     * 获取预报制作时间
     * @param forecastType
     * @param userName
     * @return
     */
    List<String> getForecastTime(Integer forecastType,String userName);

    /**
     * 获取日期和时效
     * @param forecastTimes
     * @return
     */
    List<YbzzForecast> getDateCharAndNTimes(String forecastTimes);

    List<YbzzForecast> listByParam(String userName,String dateChar,Integer forecastType,Integer nTimes,String forecastTime);

    /**
     * 根据type查询
     * @return
     */
    List<YbzzForecast> getListByType(String forecastTime,String forecastType);

    /**
     * 更新
     * @param ybzzForecast
     * @return
     */
    Integer update(YbzzForecast ybzzForecast);

    /**
     * 删除
     * @param shuZhiDate
     * @param forecastType
     * @param strTimeChar
     * @param stationList
     * @return
     */
    Integer delete(String shuZhiDate,String forecastType,String strTimeChar,String stationList);

    /**
     * 添加
     * @param ybzzForecast
     * @return
     */
    Integer save(YbzzForecast ybzzForecast);
}
